<?php
    

    include "base.php";


    $username = $_POST['username'];
    $pwd = $_POST['pwd'];

    
    $sql = "UPDATE `user` SET `password`='$pwd' WHERE `username`='$username'";
    mysqli_query($conn,$sql); 

    
?>

